Method for locating articles on a support plane

ABSTRACT

With a method of locating articles on a carrier plane on the basis of data which were obtained by a relative movement extending in a transport direction parallel to the carrier plane between a scanning plane and the articles and by a repeated carrying out of a total scan of the position of points on the articles and which include information on the position of the article points detected in the scanning plane, and on the basis of information on the relative position of the scanning plane and the articles in the direction of transport during a total scan, the steps are carried out repeatedly: reading of the data on the position of the article points on the articles in the scanning plane and detection of information on the relative position of the scanning plane and articles in the transport direction for a current total scan, determination of positions and extents of flanks of the articles, which substantially form a right angle with the carrier plane, from the data of the current total scan, determination of positions and lengths of edges of the articles parallel to the carrier plane on the basis of the positions and extents of the flanks as well as of the information on the relative position of the scanning plane and the articles in the transport direction in the current total scan and in preceding total scans, and defining of objects corresponding to articles from the positions and lengths of the edges parallel to the carrier plane

[0001] The present invention relates to a method of locating articles on a support plane on the basis of data which reproduce the location of points on the articles, to a method of detecting articles on a support plane and to an apparatus for the carrying out of the method.

[0002] In many cases, it is necessary, on the automatic transport of articles, to be able to distinguish articles of a certain type of shape automatically from one another. This is in particular important if two or more individual articles are touching and there is a risk that this article group is evaluated as a single article.

[0003] It is thus necessary, for example on the automatic transport of packages, to recognize packages disposed on a conveyor belt automatically and to separate them from one another reliably on recognition.

[0004] It can furthermore be sensible to be able to determine their dimensions or their volumes automatically.

[0005] Since in many applications only articles of a certain type of shape occur, it is often sufficient only to be able to distinguish articles of a certain type of shape, i.e. to ensure recognition only within the respective type of shape.

[0006] Types of shape are of particular importance here in which the article has a base surface of a pre-determined type of surface shape, a top surface substantially parallel to the base surface and one or more side surfaces extending substantially perpendicular to the base surface. Depending on the kind of the type of surface shape, these include, for example, articles of right parallelepiped shape with a rectangular base surface and cylindrical articles with a circular base surface.

[0007] The object underlying the invention is to provide methods with which articles of a certain type of shape can be located or articles of a certain type of shape arranged on a support plane can be detected on the basis of data on the location of points on surfaces of articles arranged next to one another and to provide a corresponding apparatus. The invention should in particular be usable for articles with a base surface of a pre-determined type of surface shape, a top surface substantially parallel to the base surface and one or more side surfaces extending substantially orthogonally to the base surface, in particular articles of right parallelepiped shape.

[0008] The object is satisfied by a method having the features of claim 1.

[0009] With the method in accordance with the invention of locating articles having a base surface of a pre-determined type of surface shape, a top surface substantially parallel to the base surface and one or more side surfaces extending substantially orthogonally to the base surface, in particular articles of right parallelepiped shape, on a support plane, on the basis of data which were obtained by a relative movement extending in a transport direction parallel to the support plane between a scanning plane, which includes a pre-determined angle with the support plane, and the articles and by a repeated carrying out of a total scan of the location of the points on the articles within a detection range in the scanning plane, and which include information on the location of the article points detected in the scanning plane, as well as on the basis of information from which the relative position of the scanning plane and the articles in the transport direction can be derived during a total scan, the method comprising the repeated performing of the steps of: reading of the data on the location of the points on the articles in the scanning plane and detection of information on the relative position of the scanning plane and the articles in the transport direction for a current total scan, determination of positions and extents of flanks of the articles which form a substantially right angle with the support plane from the data of the current total scan, determination of positions and lengths of edges of the articles substantially parallel to the support plane on the basis of the positions and extents of the flanks and on the information on the relative position of the scanning plane and the articles in the transport direction in the current total scan and in preceding total scans and defining of objects corresponding to articles from the positions and lengths of the edges parallel to the support plane.

[0010] The object is furthermore satisfied by a method having the features of claim 13.

[0011] With the method in accordance with the invention of detecting articles having a base surface of a pre-determined type of surface shape, a top surface substantially parallel to the base surface and one or more side surfaces extending substantially orthogonally parallel to the base surface, in particular of articles of right parallelepiped shape, on a support plane, a scanning plane, which substantially includes a pre-determined angle with the support plane, and the articles are moved relative to one another in a transport direction parallel to the support plane, with a total scan of a detection region in the scanning plane being carried out repeatedly, in which data are detected on the location of points on the articles in the scanning plane, as well as information from which the relative position of the scanning plane and the articles in the transport direction can be derived during a total scan, and the location method is carried out in accordance with the invention on the basis of the data gained.

[0012] The object is furthermore satisfied by an apparatus having the features of claim 19.

[0013] The apparatus in accordance with the invention for the detection of articles having a base surface of a pre-determined type of surface shape, a top surface substantially parallel to the base surface and one or more side surfaces extending substantially orthogonally to the base surface, in particular of articles of a right parallelepiped shape, on a support plane, comprises at least one sensor for electromagnetic radiation with which data can be obtained with repeated total scans with respect to the location of points on the articles in a detection region in a scanning plane of the sensor, a device with which the articles and the sensor can be moved relative to one another in a transport direction parallel to the support plane, with the scanning plane of the sensor including a pre-determined angle with the support plane, and a data processing device which is adapted for carrying out the location method in accordance with the invention. The detection method in accordance with the invention can be carried out with the apparatus in accordance with the invention.

[0014] The invention relates to articles of a pre-determined type of shape whose general properties are used to locate the articles. Generally, the methods in accordance with the invention can be used for articles which have a base surface of a pre-determined type of surface shape, a top surface substantially parallel to the base surface and one or more side surfaces extending substantially orthogonally to the base surface, for which reason the top surface must have substantially the same shape and extent as the base surface, which thus more or less represents a plan view of the article.

[0015] In this connection, the base surface must have a pre-determined type of surface shape. This can, for example, be a quadrangle with any desired edge lengths and angles, and preferably also a rectangle with any desired edge lengths, so that in the latter case the articles have a right parallelepiped shape.

[0016] The base surface can furthermore be elliptical, for example, and preferably circular. In the latter case, articles with a cylinder shape result.

[0017] The articles are arranged on a support plane for the carrying out of the detection method in accordance with the invention or for the detection of the data for the location method in accordance with the invention, with the base surface being in contact with the support plane.

[0018] For the provision of data on the location of points on the articles, data are detected in the scanning plane in successive total scans of a detection region on the location of points on the articles within the detection region, which contain information on the location of the detected points on the articles in the scanning plane, i.e. two-dimensional location data in the scanning plane. A point on the article also called article point is here understood to be a region on the article which was scanned. This region can have an extent, for example on scanning with a laser beam, determined by the diameter of the laser beam.

[0019] A sensor for electromagnetic radiation, in particular infrared or visible light, is provided with the apparatus in accordance with the invention for the acquisition of these data and corresponding data of articles in a detection region of the sensor can be acquired with this. The acquired data can in particular include a distance of an article from the sensor.

[0020] So as not to cover only a single section of an article, the article and the scanning plane are moved relative to one another in a transport direction parallel to the support plane for the data detection so that three dimensional location data can be acquired by successive total scans. For this purpose, the apparatus in accordance with the invention has a corresponding transport device.

[0021] To actually obtain three-dimensional location data, the scanning plane here includes a pre-determined angle with the support plane which must not be zero, since otherwise no data are available on the extent of the articles in a direction orthogonal to the support plane.

[0022] To determine the location of the scanning plane relative to the articles in the transport direction and thus parallel to the support plane during a total scan, information is acquired from which the relative position of the scanning plane and articles in the transport direction can be derived during a total scan. This can be a time stamp of the sensor, on the one hand, with which the sensor furnishes the data of a total scan, and a preferably constant speed of the relative movement of the scanning plane and the articles. It is, however, also possible for the transport device, for example, to transmit signals on the path covered within a certain period of time which can be used to determine the relative position in the transport direction. Signals of an incremental transducer of an element moving the sensor and/or the articles, for example a motor, can in particular be used so that the methods can also be carried out with a non-uniform relative movement.

[0023] The data acquired are used to carry out the location method in accordance with the invention which is carried out with the apparatus in accordance with the invention in a data processing device which can in particular include interfaces for the data input and data output, a memory to store data and an evaluation program and a processor connected to or communicating with the interfaces and the memory.

[0024] After the reading of the data, which can take place in each case after the acquisition of the same, the positions and extents of flanks of the articles in the actual total scan are determined from the data of the actual total scan. The flanks, which substantially form a right angle with the support plane, here correspond to the side surfaces of the article. The positions and extents of the flanks can in this connection in particular be defined by the positions of end points of the flanks.

[0025] Due to the shape of the articles, the flanks determined therefore end on the support plane or at the top surface of at least one article. If two articles of different extent directly adjoin one another in a direction orthogonal to the support plane, one flank can end at the top surface of the shallower article and at the top surface of the higher article.

[0026] Edges of the articles are now defined from the flanks in a series of total scans, said edges extending substantially parallel to the support plane due to the shape of the articles and, in simplified terms, more or less representing parts of a plan view of the articles. These edges are characterized, due to the shape of the articles, in that, among other things, the end points which make them up substantially have the same distance from the support plane.

[0027] By an analysis of the edges parallel to the support plane with respect to the type of surface shape and, depending on the type of surface shape, by an association of edges to one another, plan views of (virtual) objects corresponding to (real) articles are then more or less determined. In this connection, the fact can expediently be utilized that the edges parallel to the support plane, as a result of the shape of the articles, bound the base surface or top surface substantially parallel to the support plane. The edges to be associated with an article therefore have substantially the same distance from the support plane.

[0028] Furthermore, the type of surface shape can be used for the article location. For instance, for cylindrical articles, circular edges must be looked for, whereas with parallelepiped articles, rectangles must be looked for.

[0029] Touching articles can therefore also be located with the invention.

[0030] Furthermore, the dimensions of the articles can be determined, since their outline is known and the edges in which the flanks end bound the top surfaces and simultaneously specify the distance of the top surfaces from the support plane.

[0031] After the location of the articles, their positions and dimensions can be output, for example on output units or on apparatuses which serve for the further handling or processing of the articles.

[0032] The methods in accordance with the invention can be carried out particularly easily and quickly by the use of the special properties of the basic type of bodies to be located. The location of articles can in particular take place in real time.

[0033] It is therefore in particular suitable for the detection of, for example, articles of right parallelepiped shape such as packages on conveyor belts in distribution centers of logistics companies.

[0034] Further developments and preferred embodiments of the invention are described in the description, the claims and the drawings.

[0035] The scanning plane can generally include any desired angle with the support plane and also with the transport direction—with the exception of the restriction stated above. However, to determine the flanks, expediently transformations of the location coordinates of points in the scanning plane into such location coordinates in which a determination of the flanks is simple must then be carried out. Since the side surfaces forming the basis for the flanks extend substantially orthogonally to the support plane, corresponding transformations are then necessary. With the location method in accordance with the invention, it is therefore preferred for data to be used which were obtained while using a scanning plane orthogonal to the support plane. The transport direction is particularly preferably aligned orthogonally to a sectional line between the support plane and the scanning plane since this simplifies the edge recognition. With the detection method in accordance with the invention or with the apparatus in accordance with the invention, it is preferred for the scanning plane to be aligned orthogonally to the support plane, and particularly preferably also the transport direction. The method can thereby be carried out substantially more simply and thus more quickly.

[0036] Since the sensor only detects the data in the scanning plane with an error caused by the sensor and by differences of the articles from the ideal shape, undesireably large fluctuations can occur in the location data especially in the region of the side surfaces or flanks. It is therefore preferred with the methods in accordance with the invention for the data to be subjected to a spatial filtering with respect to a direction orthogonal to the support plane before the determining of the flanks. For this purpose, a median filter, or also a moving average determination can be used, for example.

[0037] To be able to recognize the flanks particularly precisely, and simultaneously in a simple manner, it is preferred with the methods in accordance with the invention for respective magnitudes of distances of successive data points in a direction orthogonal to the support plane to be used for the recognition of the flanks. In particular, corresponding gradient filters can be used for this purpose. For example, a flank can be determined when the magnitudes of the distances exceed a pre-determined threshold whose value can be selected in dependence on the spatial resolution of the sensor and on expected minimal and maximal dimensions of the articles in the direction orthogonal to the support plane. In this connection, the data points are detected in a sequence which corresponds to a progressive scan in the scanning plane transversely to the support plane.

[0038] The accuracy of the determination of the location of edges parallel to the support plane can in particular depend on the accuracy of the determining of the position of the end points of a flank. It is therefore preferred that positions of end points of the flanks in a direction parallel to an intersection line of support plane and scanning plane are obtained in each case by averaging corresponding data of data points associated with the flank. Fluctuation errors are largely compensated by the averaging of a plurality of data points.

[0039] It is furthermore preferred for the same purpose for a distance from the support plane or a value of a coordinate in a direction orthogonal to the support plane to be associated with an end point of a flank which are obtained by averaging of corresponding data of data points of a surface of a detected article adjacent to the flank at the end point and substantially orthogonal to the flank.

[0040] Due to the shape of the articles, a surface of an article parallel to the support plane always adjoins an end point of a flank. To be able to use this information in forming the object, it is preferred for a direction to be associated with an end point of a flank which indicates in which direction a surface of a detected article extends which adjoins the flank and is substantially orthogonal to this flank. Edges of articles of right parallelepiped shape parallel to the support plane can thus be located very easily since these are formed by end points of flanks with which the same direction is associated.

[0041] For the determination of the edges parallel to the support plane, the locations of the end points of the flanks in the transport direction must be known. It is preferred for the fast and simple determination of the location of the end points for the positions of end points of the flanks of a total scan in the transport direction of the articles to be determined on the basis of the movement speed between the scanning plane and the articles and the time interval of the total scan from the current total scan.

[0042] It is preferred for the fast determination of the edges parallel to the support plane for the positions of end points of the flanks and the directions associated with the end points to be used. The association of end points to edges is thus made substantially simpler.

[0043] It is preferred with the methods in accordance with the invention for them to be used for the location of articles of right parallelepiped shape and for a new object to be generated only when two edges substantially parallel to the support plane are found which have approximately the same distance from the support plane and include an angle whose magnitude is smaller than a pre-determined limiting angle. This means that a search is made for edges which are substantially parallel to one another, are parallel to the support plane and border a right parallelepiped. This method can be carried out particularly simply and precisely. Further criteria can be used to accelerate the search.

[0044] It is furthermore preferred for the methods in accordance with the invention to be used for locating articles of a right parallelepiped shape and for a new object only to be generated when a different direction is associated with the end points, which are used as the basis of the one edge parallel to the support plane, than with the end points which are used as the basis for the other edge parallel to the support plane. This very simple, but effective criterion for the object finding again utilizes the shape of the articles since two oppositely disposed side areas of a parallelepiped merge on respectively oppositely disposed sides into the top surface.

[0045] The methods in accordance with the invention simply make available the positions of the edges parallel to the support plane both in the support plane, and thus a base surface of the article, and in a direction orthogonal to the support plane. It is therefore preferred for the volume of at least one article to be calculated on the basis of a base surface, which is defined by edges of the object parallel to the support plane, and of the distance of the edges parallel to the support plane from the support plane. The volume of the object then corresponds in a good approximation to the volume of the corresponding article. Such a method also not only makes possible the detection or location of articles, but simultaneously allows the determination of their volumes. It is therefore particularly suitable for use in the transport and logistics industries.

[0046] It is preferred for the data on the location of article points to be detected by means of a laser measuring device which has an areal detection area. Such devices work with high accuracy in a contact free manner and are additionally service friendly.

[0047] A laser measuring device is particularly preferably used which includes at least one laser scanner, preferably a radial scanner. Such laser scanners allow a fast and precise detection of the locations of surface regions on articles. Line scanners arranged above the support plane with stationary scanning radiation beams relative to the line scanner or laser scanners with moving scanning radiation beams can, for example, be used as the laser scanners. In this connection, in particular radial scanners have a large detection region in the shape of a sector of a circle.

[0048] To avoid a covering of an article by another, it is preferred for at least two laser scanners arranged along a line orthogonal to the transport direction of the articles and above the support plane, in particular radial scanners, to be used whose detection regions overlap. With the apparatus in accordance with the invention, it is preferred for this purpose for two laser scanners to be provided whose scanning planes are inclined at a pre-determined angle to the support plane and which are arranged at a pre-determined distance away from this and at both sides of a possible trajectory of the articles. Their scanning planes are particularly preferably also aligned orthogonally to the transport direction.

[0049] With the method in accordance with the invention, the scanning plane, i.e. the sensor of the apparatus in accordance with the invention, can generally be moved. However, due to the then movable connectors required for the sensor, an apparatus for the carrying out of the detection method in accordance with the invention becomes complex and defect prone. It is therefore preferred that, with the detection method in accordance with the invention, the articles are moved with a scanning plane arranged in a stationary manner. With the apparatus in accordance with the invention, it is preferred for the device for the relative movement to be a conveyor device for the articles. Due to the fixed installation of the sensor, in particular its adjustment is simplified or its de-adjustment is avoided.

[0050] A further subject of the invention is a computer program comprising program code means to carry out the location method in accordance with the invention when the program is run on a computer.

[0051] Finally, a computer program product is a subject of the invention comprising program code means which are stored on a computer readable data carrier to carry out the location method in accordance with the invention when the computer program product is run on a computer, i.e. a data processing unit.

[0052] The invention will now be explained further by way of example with reference to the drawings, in which are shown:

[0053]FIG. 1 a schematic perspective view of a conveyor belt with articles and an apparatus for the detection of the articles;

[0054]FIG. 2 a flowchart in which the main steps of a method used by the apparatus in FIG. 1 are illustrated;

[0055]FIGS. 3a, b two schematic diagrams in which the location of points on articles detected in each case by one of the laser scanners in FIG. 1 in a Y/Z plane is illustrated;

[0056]FIG. 4 a schematic diagram in which the data in FIGS. 3a, b are illustrated after a merging;

[0057]FIG. 5 a schematic diagram in which the data of FIG. 4 are shown after a filtering;

[0058]FIG. 6 a schematic diagram in which the height differences associated with the data points in FIG. 5 are shown as a function of the y coordinate of the data points;

[0059]FIG. 7 the schematic diagram of FIG. 5 in which the provisional positions of data points defining flanks are depicted;

[0060]FIG. 8 the schematic diagram of FIG. 5 in which search regions for the computation of end points of a flank are drawn;

[0061]FIG. 9 a schematic diagram in which projections of end points of found flanks into the X/Y plan are shown;

[0062]FIG. 10 the schematic diagram of FIG. 9 after replacement of the projections of the end points by horizontal edges; and

[0063]FIG. 11 the schematic diagram of FIG. 10 after the construction of objects.

[0064] In FIG. 1, a conveyor belt 10 is arranged in the detection region of two laser scanners 14 and 16 positioned to the right and to the left above the conveyor belt 10 at a bridge 12. The laser scanners 14 and 16 are connected to an evaluation device 18.

[0065] The conveyor belt 10 forms a support plane in the region of the laser scanners 14 and 16 and is driven by a drive device not shown in FIG. 1 at a constant speed for the transport of articles 20, 20′, 20″ in a transport direction F.

[0066] In a Cartesian coordinate system with the axes X, Y and Z, which is moved along with the conveyor belt 10, the support plane is arranged parallel to the X/Y plane of the coordinate system. The transport direction F is aligned parallel to the X axis, but oriented in the opposite direction.

[0067] The laser scanners 14 and 16 are in each case conventional radial scanners whose function will be described briefly by use of the laser scanner 14 as an example.

[0068] With the laser scanner 14, as is shown in FIG. 1, a radiation bundle 22 of a laser is pivoted with a constant angular velocity in a planar detection region 24 in a scanning plane 26 such that the detection region 24 is swept over with a constant scanning frequency. Synchronously to this, a receiver for reflected radiation of the laser is pivoted along by means of which radiation of the radiation bundle 22 transmitted at a specified angle φ and reflected at a region 28 of the article 20 can be detected at this angle. The detection of reflected light takes place at constant time intervals so that data are taken at constant angular intervals.

[0069] In this manner, data on the position of articles 20 disposed in the detection region 24 can be detected in the scanning plane 26. If, at a specified rotational angle φ, the radiation bundle 22 transmitted by the laser scanner 14 is reflected by the point or region 28 of the article 20 and received by the receiver of the laser scanner 14, a distance r of the region or of the point 28 from the laser scanner 14 is determined at the specified rotational angle φ from the run time of the radiation bundle 22 between the laser scanner 14, the region 28 of the article 20 and again the laser scanner 14.

[0070] The laser scanner 14 outputs a distance r at which an article point 28 on the article was detected as the data for every angle φ. If an article point is disposed outside the detection region in the radial direction or if no article point was found, a corresponding distance value is output with a pre-determined very large value.

[0071] The detection regions 24 and 32 of the laser scanners 14 and 16 respectively are aligned perpendicular to the transport direction F and thus parallel to one another. Furthermore, the detection regions 24 and 32 overlap such that article points in the overlapping region of the detection regions of the laser scanners 14 and 16 can be detected by both laser scanners 14 and 16.

[0072] To be able to combine the data of the laser scanners 14 and 16 to one total scan in an advantageous manner, the laser scanners 14 and 16 work with the same scanning frequency and a phase shift of 180°.

[0073] The evaluation device 18 has—not shown in FIG. 1—interfaces for the inputting of data from the laser scanners 14 and 16, a memory device for the storage of data and of an evaluation program, an output interface and a processor connected to the input interfaces, the memory device and the output interface.

[0074] To locate articles on the conveyor belt 10, the following process is carried out cyclically with the scanning frequency, with the following procedures each taking place in one cycle:

[0075] Successive single scans are carried out by the laser scanners 14 and 16 in a step S10 (cf. FIG. 2) in each case according to the scanning frequency. Since the scans of the laser scanner 14 are offset by half a scanning period T/2 with respect to those of the laser scanner 16, scans i are detected at times t₁ ⁽¹⁴⁾ of the laser scanner 14 with data points (r_(j) ⁽¹⁴⁾, φ_(j) ⁽¹⁴⁾)₁, where j=1, N, and scans of the laser scanner 16 are detected at times t₁ ⁽¹⁶⁾=t₁ ⁽¹⁴⁾+T/2 with data points (r_(j) ⁽¹⁶⁾, φ_(j) ⁽¹⁶⁾)₁, where N is the number of rotational angle positions in a scan i of the detection region 24 or 30 respectively by the laser scanner 14 or 16 respectively, i is in each case a natural number and r_(j) ⁽¹⁴⁾ or r_(j) ⁽¹⁶⁾ respectively are the distances of a detected article point, i.e. point on the article, from the laser scanner 14 or 16 which were detected at the detection angles φ_(j) ⁽¹⁴⁾ or φ_(j) ⁽¹⁶⁾ with respect to the Z axis.

[0076] Although the individual data points of a scan are detected successively, due to the low speed of the conveyor belt 10 compared with the scanning frequency, the same detection time can be associated with all data points of a scan in very good approximation. This detection time results from a time stamp output with the data points by the laser scanners 14 and 16. On the basis of this time stamp and the transport speed, the x coordinates of the scanning plane 26, and also of the article points detected in the current scan in the scanning plane 26 are thus also defined in the coordinate system, which is moved along.

[0077] The actual evaluation process, which is carried out by means of the processor in the evaluation device 18, includes the following routines:

[0078] After reading the data points and the time stamp from the laser scanners 14 and 16 into the evaluation device 18 in step S12, the data points of the two scans are combined to one total scan in step S14.

[0079] For this purpose, the data points of a scan i are converted by means of known relationships into the corresponding Cartesian coordinates (y_(j) ⁽¹⁴⁾, z_(j) ⁽¹⁴⁾)₁ or (y_(j) ⁽¹⁶⁾, z_(j) ⁽¹⁶⁾)_(i) in the coordinate system moved along with the conveyor belt 10. In this connection, a height contour z results as a function of the position y along the Y axis. Such height contours are shown by way of example in FIGS. 3a and 3 b for data of the laser scanners 14 and 16, with the origin of the coordinate system being selected at any arbitrary, but fixed, point. It must be observed in this connection that, in these illustrations, as also in corresponding later illustrations, the position of the conveyor belt in the illustration would be at the top since the Z axis in FIG. 1 points downward. Furthermore, in these illustrations, scales are drawn on the axes in pre-determined, but arbitrary units. Since the magnitude of the numbers is not important for the explanation of the method, the units are not explicitly set forth.

[0080] Furthermore, an x coordinate is calculated for each data point which results from the time t₁ ⁽¹⁴⁾ or t₁ ⁽¹⁶⁾ or the corresponding time stamps of the scan multiplied by the transport speed of the conveyor belt 10 and which specifies the position of the scanning plane or detection plane at the time of detection.

[0081] To achieve a higher resolution, a total scan is then formed in that a previous scan i of the laser scanner 14 at the time t_(i) ⁽¹⁴⁾ is combined with a later scan i of the laser scanner 16 at the time t₁ ⁽¹⁶⁾=t₁ ⁽¹⁴⁾+T/2.

[0082] The total scan is built up successively starting from the sequence of the data points of the previous scan of the laser scanner 14 in its original order. At the start, the total scan therefore consists of the sequence of the previously detected data points in their original order.

[0083] Starting with the first data point of the later scan of the laser scanner 16, a respective data point of the later scan is then inserted into the current total scan in the order of the data points in the previous scan at a position at which the previous data point of the current total scan has a smaller y coordinate than the data point to be inserted and the following data point, if present, has a larger y coordinate than the data point to be inserted. A new current total scan arises by the insertion with which the insertion process is continued until all data points of the later scan are inserted.

[0084] The total scan now has data points (x_(j), y_(j), z_(j)) for j=1, 2N and now no longer has, as shown in FIG. 4, any hidden area which was still present in the individual scans (cf. FIGS. 3a and 3 b).

[0085] In a following step S16, the z coordinates of the data points of the total scan are then subjected to a filtering with a median filter in which three successive values are respectively considered. A z coordinate of a central data point of three successive data points in the sequence of the data points of the total scan is here replaced by the z coordinate of the three data points which is neither the smallest nor the largest of the three z coordinates. The result of the filtering is shown by way of example in FIG. 5. The solid line connects the filtered data points, while the individual points show the unfiltered data points.

[0086] In a next step S18, the position of flanks, which are substantially perpendicular to the support plane, i.e. define an angle with the Z axis within a pre-determined small angular range, is determined in the current scan. For this purpose, differences of the z coordinates of successive filtered data points of the total scan termed height differences in the following are calculated and associated with the data points. In FIG. 6, the differences of the z coordinates z_(j+1)-z_(j) of successive filtered data points j=1, 2N-1 are depicted as a function of the corresponding y coordinates y_(j+1).

[0087] If the magnitude of the height differences exceeds a pre-determined threshold which is indicated in FIG. 6 by horizontal straight lines and which increases as the width of the angular range decreases, a flank is determined at the corresponding y coordinate or at the corresponding data point which is now considered as the data point defining the position of the flank, with the threshold being determined experimentally by optimization experiments.

[0088] As shown in FIG. 6, in this connection, also a plurality of successive magnitudes of the height differences can exceed the threshold. The provisional position of the flank is then defined by the data point whose height difference exceeds the threshold the most.

[0089] The defining data points 32, 32′ and 32″ for the data from FIG. 5 are illustrated by circles in FIG. 7.

[0090] In a following step S20, the length and exact position of the flanks found in the preceding step are then determined in that the position of end points of the flanks is determined. The following procedure is carried out for this purpose for each flank found (cf. FIG. 8):

[0091] Starting from the determined data point which defines the provisional position of the flank, data points are looked for which succeed one another both in the direction of smaller and larger y values and whose y coordinate lies within a searching interval 36 of pre-determined width which is represented by vertical lines in FIG. 8 and at whose center the value for the y coordinate of the data point defining the position of the flank lies and which have a height difference which has the same sign as the height difference which defines the flank. The width of the search interval 36 depends on the spatial resolution of the laser scanners 14 and 16 and on the expected dimensions of the articles 20, 20′ and 20″ and is preferably determined by optimization experiments.

[0092] If either no further data point is found in the search interval 36 or if a data point occurs with a height difference with a sign which differs from the sign of the height difference which defines the flank, the search in the corresponding direction is aborted.

[0093] The mean value of the y coordinates of all data points found is used as the y coordinate of the endpoints of the flank.

[0094] Starting from the data points found above with maximal and minimal z coordinates, the method is now repeated in a similar manner for adjoining regions which extend substantially horizontally, i.e. in the direction of the Y axis, since the flanks must merge into surfaces orthogonal to the flanks with articles of a right parallelepiped shape.

[0095] Starting at an initial data point from the set of the data points which form the flank whose z coordinate adopts an extreme value under the z coordinates of the data points in the set, successive data points are looked for in both a rising and a falling order in the total scan whose z coordinate lies within a search interval 38 of predetermined width which is indicated by horizontal lines in FIG. 8 and at whose center the determined provisional value for the z coordinate lies. As before, the width of the search interval 38 is selected in dependence on the spatial resolution of the laser scanners 14 and 16 and on the expected ranges of dimensions of the articles 20, 20′ and 20″.

[0096] If no further data point is found in a direction, the search is ended.

[0097] The set of the data points found then corresponds to a surface of the article orthogonal to the flank.

[0098] After the search has ended, the mean value of the z coordinates of the data points located is then used as the z coordinate of the corresponding end point.

[0099] Furthermore, the x coordinate of the data point defining the provisional position of the flank is used as the x coordinate of the end points of the flank.

[0100] Furthermore, an edge direction, which is termed a “left” and “right” edge direction in the example, is associated with an end point of a flank. This edge direction corresponds to the direction in which a surface of the article orthogonal to the flank adjoins the flank at the corresponding end point. For this purpose, a check is made as to whether more data points are found within the search interval for the z direction whose y coordinate has a respectively smaller value than the y coordinate of the end point or more data points whose y coordinate has a larger value. In the first case, “left” is associated with the end point as the edge direction; in the other case “right” is associated.

[0101] The results of the flank determination are therefore calculated end points with newly determined x, y and z coordinates and associated edge directions. These end points are represented by the circles 34 and 34′ in FIG. 8.

[0102] As a result of the already known type of shape, namely the right parallelepiped shape, of the articles, the end points of the flanks in successive total scans must reproduce edges extending horizontally, i.e. in the X-Y plan, or, in the isolated cases, a corner of the article.

[0103] In a following step S22, edges parallel to the plane of the conveyor belt 10, which are termed horizontal edges in the following, are therefore determined from the data on the flanks, i.e. from their end points and the edge directions associated with these, in the current total scan and in a predetermined number of previous total scans. These horizontal edges reproduce, in a certain sense, an outline of the articles detected. Projections of found end points of flanks to the X-Y plan are shown in FIG. 9.

[0104] In this connection, it is assumed that a set of recognized provisional edges already exists for which the end points of the flanks which they consist of, including the edge directions associated with them, are stored in each case in corresponding edge buffers.

[0105] At the start of the process, the set of recognized provisional edges is empty. In later process stages, the following sub steps are carried out for each provisional edge in the set of provisionally recognized edges:

[0106] Associated end points are looked for among the end points of a current total scan for a selected provisional edge.

[0107] For this purpose, all end points of the current total scan are checked as to whether the z coordinate for the respective end point differs by less than a pre-determined maximal small amount from the z coordinate of the end point in the edge buffer with the largest x coordinate and as to whether a direction agreeing with the direction of the end points in the edge buffer is associated with the respective end point.

[0108] A check is only made for the end points which satisfy these two criteria as to whether these can also correspond to the provisional edge geometrically.

[0109] For this purpose, the fact is utilized that the type of surface shape of the base surface of the articles, that is a rectangle, and thus the shape of the edges, that is straight line sections, are known.

[0110] For this purpose, the end point is looked for in the edge buffer which has the largest value of the x coordinate, i.e. is the latest end point. With a corresponding arrangement of the end points in the edge buffer, this is the last end point.

[0111] Then a capture range is determined in which a search is made for end points from the current total scan. This capture range is fixed differently depending on the number of end points in the edge buffer:

[0112] If fewer than five points are located in the edge buffer, a search is made within a capture range in the y direction whose center lies on the value of the y coordinate of the end point with the largest x coordinate and which comprises a width of approximately four times that of the path covered by the conveyor belt 10 since the location of the last end point of the edge. This path can be determined as the difference of the maximum x coordinates of the current end points and the x coordinate in the edge buffer with the largest value of the x coordinate. This capture range corresponds approximately to a triangle opening in the X direction in the X, Y plane.

[0113] If at least five points are contained in the edge buffer, an approximated gradient of the edge in the X-Y plane is determined in that a sum of all differences of the y coordinates of successive end points in the edge buffer is divided by the sum of all differences of the x coordinates of successive end points in the edge buffer. The product of the approximated gradient and the path covered by the conveyor belt 10 since the last end point of the edge is added to the y coordinate of the end point with the largest x coordinate to obtain an expected value of the y coordinate of the next end point to be looked for. Then a capture range is again defined in the y direction whose center is formed by the expected value of the y coordinate and whose total width comprises twice that of the path covered by the conveyor belt 10 during a scanning period.

[0114] A search is now made in these capture ranges in the y direction for end points in the actual total scan which have already satisfied the first two criteria.

[0115] If such an end point is found, the end points is taken into the edge buffer.

[0116] In the other case, a check is made of since how many total scans no new end point was taken into the edge buffer, i.e. over which distance in the X direction no further end point was found. If no further end points were found over a pre-determined number of total scans which corresponds to a pre-determined distance selected in dependence on the resolution of the laser scanners 14 and 16, on the transport speed and on a range of expected dimensions of the articles 20, 20′ and 20″, it is assumed that the edge is complete. The edge buffer is then closed and no longer used in the further edge search.

[0117] If an edge buffer contains fewer than a pre-determined number of end points selected in dependence on the resolution and the expected range of dimensions of the articles, five in the example, the provisional edge and the edge buffer are discarded.

[0118] Thereupon, a check is made, by checking the mean square difference of the end points in the edge buffer from a regression straight line laid through these, as to whether the constructed edge is to be seen as a straight line. If this is not the case, the edge and the edge buffer are discarded.

[0119] Otherwise a starting point and an end point of the now complete edge are calculated in that the end point in the edge buffer with the lowest value of the x coordinate is projected onto the regression straight line by the end points in the edge buffer in a direction orthogonal to the regression straight line. The end point with the largest value of the x coordinate in the edge buffer is treated in the same manner. The projected points are considered as the end points of the edge with which in addition the mean value of the z coordinates of the end points is associated as the z coordinate and the direction of the end points as the direction.

[0120] The method is then continued with the next provisional edge.

[0121] After all provisional edges have been run through, the above sub steps are again carried out in an analogous manner, but with the role of the X direction and of the Y direction being swapped over.

[0122] At the end of the edge formation, end points of the current scan can remain as not associated. It is then assumed that these end points each belong to a new edge and new edge buffers are opened in each case.

[0123] The results of the edge formation, starting from FIG. 9, is shown in FIG. 10.

[0124] In the following step S24, the object location is carried out on the basis of the horizontal edges determined as complete up to this time.

[0125] For this purpose, angles are first calculated which include the found horizontal edges with the X axis.

[0126] Then a first horizontal edge from the set of horizontal edges determined is set as the current edge. Further edges in the previously determined set of horizontal edges, which extend parallel to the current horizontal edge, are then looked for with respect to the current edge, for which purpose the previously determined angle with the X axis is used. Parallelism is recognized when the angles differ by less than a pre-determined maximum value, in the example by approximately 2°.

[0127] Those edges are then selected from the edges which meet this criterion whose z coordinate differs from the z coordinate of the current horizontal edge by less than a pre-determined maximal small z tolerance and with which a direction oppositely oriented to the direction of the current horizontal edge is associated.

[0128] If, after this check, even more parallel edges remain over, that edge is selected as the edge belonging to the current edge which lies in the direction—starting from the current edge—which is specified by the direction associated with the current edge. This means, for example, that only an edge with a direction “left” is associated with a current edge having a direction “right” whose end points in the y direction lie to the right of the end points of the current edge, i.e. have larger y values. If a plurality of edges also meet this criterion, the edge with the lowest distance is selected.

[0129] With the method described, it is possible for edges to be calculated several times in the edge forming step. If an edge is found in the search for an edge which has a distance below a distance limiting value which is specified, among other things, by the minimal size of the articles to be found, and which amounts to less than 2 mm in the example, this edge is deleted as redundant and no longer used in the further process.

[0130] The horizontal current edge and the associated parallel horizontal edge are then characterized as belonging to one object and segregated from the set of horizontal edges.

[0131] In a following sub step, edges orthogonal to the current horizontal edge are determined from the set of defined horizontal edges. In this connection, a check is made for each of the edges in the set as to whether a difference between its angle with the X axis and the angle of the current horizontal edge and the X axis modulo 180° lies within a pre-determined error range of, in the example, approximately 30. If this is the case, the horizontal edge is considered as orthogonal to the current horizontal edge.

[0132] Those edges are then selected from among the orthogonal edges whose z coordinate differs by less than a pre-determined maximum small amount from the z coordinate of the current horizontal edge.

[0133] If, after this check, a plurality of edges orthogonal to the current horizontal edge are left, a check is made as to whether these connect the current horizontal edge and the associated parallel horizontal edge.

[0134] For this purpose, the respectively next distances of the end points of the orthogonal horizontal edges from the end points of the current horizontal edge and from the end points of the parallel horizontal edge are calculated. If these are smaller than an error value pre-determined in dependence on the minimum dimensions of the articles, here approximately 50 mm, an orthogonal horizontal edge is recognized as belonging to the object and segregated from the set of horizontal edges.

[0135] If no orthogonal horizontal edges were found, which can be the case, for example, when an article is aligned parallel to the X direction, the end points of the current horizontal edge 40 and of the parallel horizontal edge 40′ are used as the corner points of the projection of the object 42 onto the X-Y plane (cf. FIGS. 10 and 11).

[0136] If orthogonal horizontal edges 44 and 44′ were found for parallel horizontal edges 46 and 46′, the points of intersection of the current edges and of the parallel horizontal edges, or their extension with those of the orthogonal horizontal edges, or their extension, are used as the corner points of the projection of the object into the X-Y plane.

[0137] The object is only recognized as a new object when a comparison with already recognized objects has shown that it does not agree with these.

[0138] A base area of the object can be calculated from the position of the corner points of the projection of the object onto the X-Y plane, i.e. its plan view.

[0139] The volume of the object, or of the article represented by this, then results from the multiplication of the base area by the distance of the horizontal edges from the conveyor belt 10.

[0140] A new current horizontal edge is then selected from the remaining set of horizontal edges and the object location repeated. The result of the object formation is shown in FIG. 11.

[0141] At the end of this step, the location data and the calculated volumes of the located objects are output via the corresponding interface of the evaluation device 18, on the one hand, and new data are read via the input interfaces which were detected during the evaluation in a new scan, on the other hand.

Reference Numeral List

[0142] Reference numeral list 10 conveyor belt 12 bridge 14 laser scanner 16 laser scanner 18 evaluation device 20, 20′, 20″ articles 22 radiation bundle 24 detection region 26 scanning plane 28 region 30 detection region 32, 32′, 32″ defining data points 34, 34′ end points 36 search interval 38 search interval 40, 40′ edges 42 object 44, 44′ edges 46, 46′ edges 48 object r distance φ angle F transport direction 

1. A method of locating articles (20, 20′, 20″) with a base surface of a pre-determined type of surface shape, a top surface substantially parallel to the base surface and one more side surfaces extending substantially orthogonally to the base surface, in particular of articles of right parallelepiped shape (20, 20′, 20″), on a support plane (10) on the basis of data which were obtained by a relative movement extending in a transport direction (F) parallel to the support plane (10) between a scanning plane (26), which includes a pre-determined angle with the support plane (10), and the articles (20, 20′, 20″) and by repeated carrying out of a total scan of the location of points (28) on the articles (20, 20′, 20″) within a detection region (24, 30) in the scanning plane (26), and which include information on the location of the points detected in the scanning plane (26) and on the basis of information from which the relative position of the scanning plane (26) and articles (20, 20′, 20″) in the transport direction (F) can be derived during a total scan, the method comprising the repeated performing of the steps of: reading of the data on the location of the points (28) on the articles (20, 20′, 20″) in the scanning plane (26) and detection of information on the relative position of the scanning plane (26) and articles (20, 20′, 20″) in the transport direction (F) for a current total scan; determination of positions and extents of flanks of the articles, which substantially form a right angle with the support plane, from the data of the current total scan; determination of positions and lengths of edges (40, 40′, 44, 44′, 46, 46′) of the articles (20, 20′, 20″) substantially parallel to the support plane (10) on the basis of the positions and extents of the flanks as well as of the information on the relative position of the scanning plane (26) and the articles (20, 20′, 20″) in the transport direction (F) in the current total scan and in preceding total scans; and defining of objects (42, 48) corresponding to articles (20, 20′, 20″) from the positions and lengths of the edges (40, 40′, 44, 44′, 46, 46′) parallel to the support plane (10).
 2. A method in accordance with claim 1, characterized in that data are used which were obtained while using a scanning plane (26) orthogonal to the support plane (10).
 3. A method in accordance with claim 1, characterized in that the data are subjected to a spatial filtering with respect to a direction orthogonal to the support plane before the determining of the flanks.
 4. A method in accordance with claim 1, characterized in that, for the recognition of the flanks, magnitudes-of distances of successive data points in a direction orthogonal to the support plane (10) are used in each case.
 5. A method in accordance with claim 1, characterized in that positions of end points (34, 34′) of the flanks in a direction parallel to an intersection line of the support plane (10) and the scanning plane (26) are obtained in each case by averaging corresponding data of data points associated with the flank.
 6. A method in accordance with claim 1, characterized in that a distance from the support plane (10), or a value of a coordinate in a direction orthogonal to the support plane (10), is associated with an end point (34, 34′) of a flank and is obtained by averaging of corresponding data from data points of a surface of a detected article (20, 20′, 20″) adjacent to the flank at the end point (34, 34′) and substantially orthogonal to the flank.
 7. A method in accordance with claim 1, characterized in that a direction is associated with an end point (34, 34′) of a flank which specifies in which direction a surface of a detected article (20, 20′, 20″) extends which adjoins the flank and is substantially orthogonal to it.
 8. A method in accordance with claim 1, characterized in that the position of end points (34, 34′) of the flanks of a total scan in the transport direction (F) of the articles is determined on the basis of the movement speed between the scanning plane (26) and the articles (20, 20′, 20″) and the time interval of the total scan from the current total scan.
 9. A method in accordance with claim 1, characterized in that the positions of end points (34, 34′) of the flanks and the directions associated with the end points (34, 34′) are used in the determining of the edges (40, 40′, 44, 44′, 46, 46′) parallel to the support plane (10).
 10. A method in accordance with claim 1, characterized in that it is used to locate articles (20, 20′, 20″) of right parallelepiped shape; and in that a new object (42, 48) is only generated when two edges (40, 40′, 44, 44′, 46, 46′) substantially parallel to the support plane (10) are found which have approximately the same distance from the support plane (10) and include an angle whose magnitude is smaller than a pre-determined limiting angle.
 11. A method in accordance with claim 10, characterized in that it is used to locate articles (20, 20′, 20″) of right parallelepiped shape; and in that a new object (42, 48) is only generated when a different direction is associated with the end points (34, 34′), which underlie the edge parallel to the support plane (10) than with the end points (34, 34′) which underlie the other edge parallel to the support plane (10).
 12. A method in accordance with claim 1, characterized in that the volume of at least one object (42, 48) is calculated on the basis of a base surface which is specified by edges (40, 40′, 44, 44′, 46, 46′) of the object (42, 48) parallel to the support plane (10) and of the distance from the support plane (10) of the edges (40, 40′, 44, 44′, 46, 46′) parallel to the support plane (10).
 13. A method of detecting articles (20, 20′, 20″) with a base surface of a pre-determined type of surface shape, a top surface substantially parallel to the base surface and one or more side surfaces extending substantially orthogonally to the base surface, in particular of articles (20, 20′, 20″) of right parallelepiped shape, on a support plane (10), wherein a scanning plane (26), which substantially includes a pre-determined angle with the support plane (10), and the articles are moved relative to one another in a transport direction (F) parallel to the support plane (10), a total scan of a detection region (24, 30) in the scanning plane (26) is carried out repeatedly, in which data are detected on the location of points (28) on the articles (20, 20′, 20″) in the scanning plane (26) as well as information from which the relative position of the scanning plane (26) and articles (20, 20′, 20″) in the transport direction (F) can be derived during a total scan; and the method in accordance with claim 1 is carried out on the basis of the data gained.
 14. A method in accordance with claim 13, characterized in that the scanning plane (26) is substantially aligned orthogonally to the support plane (10).
 15. A method in accordance with claim 13, characterized in that the data on the location of points (28) on the articles are detected by means of a laser measuring device (14, 16) which has an areal detection region (24, 30).
 16. A method in accordance with claim 13, characterized in that a laser measuring device (14, 16) is used which includes at least one laser scanner, preferably a radial scanner (14, 16).
 17. A method in accordance with claim 13, characterized in that at least two laser scanners, in particular radial scanners (14, 16), arranged along a line orthogonal to the transport direction (F) of the articles and above the support plane (10) are used whose detection regions (24, 30) overlap.
 18. A method in accordance with claim 13, characterized in that the articles (20, 20′, 20″) are moved when the scanning plane (26) is arranged to be stationary.
 19. An apparatus for the detection of articles with a base surface of a pre-determined type of surface shape, a top surface substantially parallel to the base surface and one or more side surfaces extending substantially orthogonally to the base surface, in particular of articles (20, 20′, 20″) of a right parallelepiped shape, on a support plane (10), comprising at least one sensor (14, 16) for electromagnetic radiation with which data can be obtained with repeated total scans with respect to the location of points on the articles (20, 20′. 20″) in a detection region (24, 30) in a scanning plane (26) of the sensor (14, 16); a device (10) with which the articles (20, 20′, 20″) and the sensor (14, 16) can be moved relative to one another in a transport direction (F) parallel to the support plane (10); wherein the scanning plane (26) of the sensor (14, 16) includes a pre-determined angle with the support plane (10); and comprising a data processing device (18) which is adapted for the carrying out of the method in accordance with claims
 1. 20. An apparatus in accordance with claim 19, characterized in that the scanning plane (26) is aligned substantially orthogonally to the support plane (10).
 21. An apparatus in accordance with claim 19, characterized in that the sensor (14, 16) is a laser scanner, in particular a radial scanner.
 22. An apparatus in accordance with claim 21, characterized in that two laser scanners (14, 16) are provided whose scanning planes (26) are inclined at a pre-determined angle to the support plane (10) and are arranged at a pre-determined distance from this and at both sides of a possible trajectory of the articles (20, 20′, 20″).
 23. An apparatus in accordance with claim 19, characterized in that the device (10) for the relative movement is a conveyor device (10) for the articles (20, 20′, 20″).
 24. A computer program comprising program code means in order to carry out the method in accordance with claim 1 when the program is run on a computer.
 25. A computer program product comprising program code means which are stored in a data carrier which can be read by a computer to carry out the method in accordance with claim 1 when the program is run on a computer 